﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WooCoo.Portal.Contracts
{
    public class LoginInfo
    {
        public LoginResult LoginResult { get; set; }
        public string SessionID { get; set; }
    }

    #region 登录结果枚举
    /// <summary>
    /// 登录结果枚举
    /// </summary>
    public enum LoginResult:int
    {
        /// <summary>
        /// 失败
        /// </summary>
        Fail = 0,

        /// <summary>
        /// 成功
        /// </summary>
        Success = 1,

        /// <summary>
        /// 帐号密码不正确
        /// </summary>
        PasswordFail = 2,

        /// <summary>
        /// 用户已禁用
        /// </summary>
        AccountDisable = 3,

        /// <summary>
        /// 用户不存在
        /// </summary>
        AccountNonExist = 4,
    }
    #endregion
}
